/**
 * @file        obs_logger.h
 *
 * @brief       OpenBSD system programming study material logging system
 *
 * @author      Kevin Zhang (kevin.misc.10@gmail.com)
 * @data        2012/12/23
 */

#ifndef __OBS_LOGGER__
#define __OBS_LOGGER__

enum {
    LOGGER_STDIO,
    LOGGER_MAX
} obs_logger_flag;

#define MEM_LEN     100000000

extern int obs_logger_init(void);
extern void obs_logger_uninit(void);

extern void obs_logger_debug (char *log);

extern void test_obs_logger_open_log_file(void);

#endif

